<template>
  <div class="tlepage">
    <el-image class="img" :style="{width:props.size + 'px',height:props.size + 'px'}" :src="props.url" fit="cover" />
    <span class="mt-5">{{ props.title }}</span>
  </div>
</template>
<script setup>
const props = defineProps({
  url: {
    type: String,
    default: "",
  },
  size: {
    type: [String,Number],
    default: "30",
  },
  title: {
    type: String,
    default: "",
  },
});
</script>
<style lang="scss" scoped>
.tlepage {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;


  // margin-bottom: 10px;
  // text-align: center;
  .img {
    width: 30px;
    height: 30px
  }


  span {
    font-weight: 400;
    font-size: 12px;
    color: #e7e7e7;
  }
}
</style>